package com.sc.nft.controller.request;

import com.sc.nft.enums.PayMethodEnum;
import com.sc.nft.enums.SecondPayOrderItemTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class PaymentSecondRequest {

    @ApiModelProperty("支付方式")
    @NotNull(message = "请选择支付方式")
    private PayMethodEnum paymentMethod;

    @ApiModelProperty("付款卡Id")
    private Long bankCardId;

    @ApiModelProperty("订单Ids")
    @NotEmpty(message = "订单Id不能为空")
    private List<Long> orderIds;

    @ApiModelProperty("MAC地址")
    private String mac;

    @ApiModelProperty("是否是H5支付")
    private Boolean webPay;

    @ApiModelProperty("订单类型 COLLECTION:藏品 EQUITY_PROPS:权益道具")
    private SecondPayOrderItemTypeEnum orderType = SecondPayOrderItemTypeEnum.COLLECTION;

    @ApiModelProperty("连连钱包密码")
    private String password;

    @ApiModelProperty("连连随机因子")
    private String randomKey;

}
